from django.conf.urls import url
from . import views
urlpatterns = [
    url(r'^addresses/$', views.AddressesView.as_view()),
    url(r'^areas/$', views.AreasView.as_view()),
    url(r'^addresses/create/$', views.CreateAddressesView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/$', views.UpdateAddressesView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/default/$', views.DefaultAddressView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/title/$', views.UpdateTitleAddressView.as_view()),
]